home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global voicePlaying, VoxTimer, section, subsect, linkReturn, filePathDelimiter
- if voicePlaying = 1 then
- if (VoxTimer + 60) < the ticks then
- if soundBusy(1) = 0 then
- fadeMusicUp()
- set voicePlaying to 0
- end if
- end if
- end if
- if soundBusy(2) = 0 then
- sound playFile 2, the pathName & section & filePathDelimiter & "MUSIC" & filePathDelimiter & the name of cast (2000 + subsect)
- end if
- if count(linkReturn) > 0 then
- puppetSprite(27, 1)
- if the castNum of sprite 27 < 37 then
- set the castNum of sprite 27 to the castNum of sprite 27 + 1
- updateStage()
- else
- set the castNum of sprite 27 to 33
- updateStage()
- end if
- else
- puppetSprite(27, 0)
- end if
- go(the frame)
- end
-